<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
</head>
<body>

<h2>上传文件</h2>

<form action="/upload" method="post" enctype="multipart/form-data">
    <input type="file" name="file" accept=".pdf,.doc,.docx,.jpg,.png,.jpeg">
    <br><br>
    <button type="submit">上传文件</button>
</form>

<p><a href="/">返回首页</a></p>

</body>
</html>